package su.myspringapps.onlineschool.entity;

import lombok.Data;

import javax.persistence.Embeddable;
import java.io.Serializable;

/**
 * Класс SubscriptionKey
 * <p/>
 * Составной ключ для entity таблицы <b>subscriptions</b>
 * <p/>
 *
 * @author petr.mikhailin
 * created 26.05.2024 14:37
 */
@Data
@Embeddable
public class SubscriptionKey implements Serializable {

    private Integer studentId;

    private Integer courseId;

}
